package com.axjy.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created by asus on 2018/1/30.
 */
@Controller
public class ForwardHandler {
    @GetMapping("/{moduleLevel01}/{page}/user")
    public String user(@PathVariable("moduleLevel01") String moduleLevel01, @PathVariable("page")String page){
        return moduleLevel01+"/"+page;
    }

    @GetMapping("/{moduleLevel01}/{page}/pole")
    public String pole(@PathVariable("moduleLevel01") String moduleLevel01, @PathVariable("page")String page){
        return moduleLevel01+"/"+page;
    }

    @GetMapping("/{moduleLevel01}/{page}/line")
    public String line(@PathVariable("moduleLevel01") String moduleLevel01, @PathVariable("page")String page){
        return moduleLevel01+"/"+page;
    }

    @GetMapping("/{moduleLevel01}/{page}/skm")
    public String skm(@PathVariable("moduleLevel01") String moduleLevel01, @PathVariable("page")String page){
        return moduleLevel01+"/"+page;
    }

    @GetMapping("/{moduleLevel01}/{page}/role")
    public String role(@PathVariable("moduleLevel01") String moduleLevel01,@PathVariable("page")String page){
        return moduleLevel01+"/"+page;
    }

    @GetMapping("/{moduleLevel01}/{page}/editUser")
    public String editUser(@PathVariable("moduleLevel01") String moduleLevel01,@PathVariable("page")String page){
        return moduleLevel01+"/"+page;
    }

    @GetMapping("/{moduleLevel01}/{page}/roleAu")
    public String roleAu(@PathVariable("moduleLevel01") String moduleLevel01,@PathVariable("page")String page){
        return moduleLevel01+"/"+page;
    }

    @GetMapping("/{moduleLevel01}/{page}/config")
    public String config(@PathVariable("moduleLevel01") String moduleLevel01,@PathVariable("page")String page){
        return moduleLevel01+"/"+page;
    }
}
